<div class="bh-content">
	<div class="bh-ly-jj-lvyou_mall bh-padT10">
	<?php echo $this->renderPartial('application.views.partials.crumbs') ?>
		<div class="bh-ly-jj-mall_left bh-fl">
		<!-- 旅游搜索 -->
			<?php $this->widget('lib.ext.data.DataWidget',array(
				'model' => new Travel(),
				'view' => 'application.views.partials.search.travel'
			));?>
			<!-- 广告位 -->
			<?php $this->widget('lib.ext.data.DataWidget',array(
				'model' => 'Ad',
				'criteria' => array(
					'condition' => 'type = :type',
					'params' => array(
						':type' => Ad::TYPE_M_TRAVEL_L
					),
					'limit' => '2'
				),
				'view' => 'application.views.partials.ad.travel_left'
			));?>
			<?php $this->widget('lib.ext.data.DataWidget',array(
				'model' => 'Travel',
				'criteria' => array(
					'scopes' => 'listing',
					'order' => 'is_recommend DESC',
					'limit' => '5'
				),
				'view' => 'application.views.partials.tour.exit'
			))?>
			<!-- 旅游资讯 -->
			<?php $this->widget('lib.ext.data.DataWidget',array(
				'model' => 'News',
				'criteria' => array(
					'order' => 'is_recommend DESC',
					'limit' => '5'
				),
				'view' => 'application.views.partials.tour.news'
			))?>
		</div>
		
		<div class="bh-ly-jj-mall_right bh-fr">
			<?php $this->widget('lib.ext.slider.FlashSlider', array(
				'items' => SildeShowService::getInstance()->getData('travel'),
				'width' => '714px',
				'height' => '313px',
				'htmlOptions' => array('class'=>'bh-ly-jj-pt_banner'),
			));?>
			<!-- 三个广告位 -->
			<?php $this->widget('lib.ext.data.DataWidget',array(
				'model' => 'Ad',
				'criteria' => array(
					'condition' => 'type = :type',
					'params' => array(
						':type' => Ad::TYPE_M_TRAVEL_R
					),
					'limit' => '3'
				),
				'view' => 'application.views.partials.ad.travel_ad'
			))?>
			<!-- 旅游推荐 -->
			<?php $this->widget('lib.ext.data.DataWidget',array(
				'model' => 'Travel',
				'criteria' => array(
					'order' => 'is_recommend DESC',
					'scopes' => 'listing',
					'limit' => 12,
				),
				'view' => 'application.views.partials.tour.recommend'
			))?>
			<div class="bh-ly-btmb-more bh-mtop10 bh-Border_1 bh-ly-tszt-qianhong">
					<h1><span ><a href="<?php echo Yii::app()->controller->createUrl('list')?>">更多&nbsp;>></a></span>国内旅游</h1>
					<!-- 国内旅游 -->
					<?php $this->widget('lib.ext.data.DataWidget',array(
						'model' => 'Travel',
						'criteria' => array(
							'with' => 'profile',
							'condition' => 'profile.travel_province <> 35',
							'order' => 'is_recommend DESC',
							'scopes' => 'listing',
							'limit' => 12
						),
						'view' => 'application.views.partials.list.travel_recommend'
					))?>
				</div>
				<div class="bh-ly-btmb-more bh-mtop10 bh-Border_1 bh-ly-tszt-qianhong">
					<h1><span >
<!--					<a href="#">亲子游</a>|<a href="#">自驾游</a>|<a href="#">周边游</a>|<a href="#">出境游</a>|-->
					<a href="<?php echo Yii::app()->controller->createUrl('list')?>">更多&nbsp;>></a></span>出境旅游</h1>
					<!-- 出境旅游 -->
					<?php $this->widget('lib.ext.data.DataWidget',array(
						'model' => 'Travel',
						'criteria' => array(
							'with' => 'profile',
							'condition' => 'profile.travel_province = 35',
							'order' => 'is_recommend DESC',
							'scopes' => 'listing',
							'limit' => 12
						),
						'view' => 'application.views.partials.list.travel_recommend'
					))?>
				</div>
				
		</div>
		<div class="bh-space"></div>
	</div>
</div>